package com.changgou.entity;

/**
 * 常量
 * @author ZJ
 */
public class Constants {
    //购物车
    public static final String REDIS_CART = "cart_";

    //待支付订单key
    public final static String REDIS_ORDER_PAY = "order_pay_";
    //秒杀商品key
    public static final String SECKILL_GOODS_KEY="seckill_goods_";
    //秒杀商品库存数key
    public static final String SECKILL_GOODS_STOCK_COUNT_KEY="seckill_goods_stock_count_";
    //秒杀用户key
    public static final String SECKILL_USER_KEY = "seckill_user_";
    //页面令牌
    public static final String PAGE_TOKEN = "page_token_";


    //订单状态: 未支付
    public static final String ORDER_STATUS_0 = "0";
    //订单状态: 已支付
    public static final String ORDER_STATUS_1 = "1";
    //订单状态: 已发货
    public static final String ORDER_STATUS_2 = "2";
    //订单状态: 已收货
    public static final String ORDER_STATUS_3 = "3";
    //订单状态: 待退款
    public static final String ORDER_STATUS_4 = "4";
    //订单状态: 已退款
    public static final String ORDER_STATUS_5 = "5";
    //订单状态: 已完成
    public static final String ORDER_STATUS_6 = "6";
    //订单状态: 已关闭
    public static final String ORDER_STATUS_7 = "7";
}
